<!--#include("./header.html")-->

<!--%import("filter/insert_config.xml")-->

<form action="./" method="get" onsubmit="return procFilter(this, insert_config)"  no-error-return-url="true">
<table cellspacing="0" class="rowTable">
<tr>
	<th scope="col" class="w200"><div>{$lang->server_hostname}</div></th>
	<td>
		<input type="text" name="server_hostname" value="{htmlspecialchars($config->server_hostname?$config->server_hostname:'socialxe.net')}" class="inputTypeText w400" />
		<p>{$lang->about_server_hostname}</p>
	</td>
</tr>
<tr>
	<th scope="col"><div>{$lang->server_query}</div></th>
	<td>
		<input type="text" name="server_query" value="{htmlspecialchars($config->server_query?$config->server_query:'/?module=socialxeserver&act=procSocialxeserverAPI')}" class="inputTypeText w400"/>
		<p>{$lang->about_server_query}</p>
	</td>
</tr>
<tr>
	<th scope="col"><div>{$lang->client_token}</div></th>
	<td>
		<input type="text" name="client_token" value="{htmlspecialchars($config->client_token)}" class="inputTypeText w400"/>
		<p>{$lang->about_client_token}</p>
	</td>
</tr>
<tr>
	<th scope="col"><div>{$lang->use_ssl}</div></th>
	<td>
		<input type="checkbox" name="use_ssl" value="Y" <!--@if($config->use_ssl=='Y')-->checked="checked"<!--@end-->/>
		<p>{$lang->about_use_ssl}</p>
	</td>
</tr>
</table>


<table cellspacing="0" class="rowTable">
<tr>
	<th scope="col" class="w200"><div>{$lang->use_short_url}</div></th>
	<td>
		<input type="checkbox" name="use_short_url" value="Y" <!--@if(!$config->use_short_url || $config->use_short_url == 'Y')-->checked="checked"<!--@end-->/>
		<p>{$lang->about_use_short_url}</p>
	</td>
</tr>
<tr>
	<th scope="col" class="w200"><div>{$lang->bitly_username}</div></th>
	<td>
		<input type="text" name="bitly_username" value="{htmlspecialchars($config->bitly_username)}" class="inputTypeText w400" />
	</td>
</tr>
<tr>
	<th scope="col" class="w200"><div>{$lang->bitly_api_key}</div></th>
	<td>
		<input type="text" name="bitly_api_key" value="{htmlspecialchars($config->bitly_api_key)}" class="inputTypeText w400" />
	</td>
</tr>
</table>

<table cellspacing="0" class="rowTable">
<tr>
	<th scope="col" class="w200"><div>{$lang->select_service}</div></th>
	<td>
		<!--@foreach($provider_list as $provider)-->
			<label><input type="checkbox" name="select_service_{$provider}" value="Y" <!--@if($config->select_service[$provider]=='Y')-->checked="checked"<!--@end-->/> {$lang->provider[$provider]}</label>
		<!--@end-->
	</td>
</tr>
<tr>
	<th scope="col"><div>{$lang->hashtag}</div></th>
	<td>
		<input type="text" name="hashtag" value="{htmlspecialchars($config->hashtag)}" class="inputTypeText w100"/>
		<p>{$lang->about_hashtag}</p>
	</td>
</tr>
<tr>
	<th scope="col"><div>{$lang->use_social_login}</div></th>
	<td>
		<input type="checkbox" name="use_social_login" value="Y" <!--@if($config->use_social_login=='Y')-->checked="checked"<!--@end-->/>
		<p>{$lang->about_use_social_login}</p>
	</td>
</tr>
<tr>
	<th scope="col"><div>{$lang->use_social_info}</div></th>
	<td>
		<input type="checkbox" name="use_social_info" value="Y" <!--@if($config->use_social_info=='Y')-->checked="checked"<!--@end-->/>
		<p>{$lang->about_use_social_info}</p>
	</td>
</tr>
<tr class="row2">
	<th scope="row"><div>{$lang->skin}</div></th>
	<td>
		<select name="skin">
			<!--@foreach($skin_list as $key => $val)-->
			<option value="{$key}" <!--@if($config->skin == $key)-->selected="selected"<!--@end-->>{$val->title} ({$key})</option>
			<!--@end-->
		</select>
	</td>
</tr>
<tr class="row2">
	<th colspan="2" class="button">
		<span class="button black strong"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
	</th>
</tr>
</table>
</form>
